Microsoft DirectX 8.1 (C++)

CSourcePosition::CSourcePosition

Constructs a CSourcePosition object.

Syntax

CSourcePosition(
  const TCHAR *pName,
  LPUNKNOWN pUnk,
  HRESULT *phr,
  CCritSec *pLock
);

Parameters

pName

Pointer to the name of the object used in the CSourcePosition constructor for debugging purposes.

pUnk

Pointer to the owner of this object.

phr

Pointer to an HRESULT value for resulting information.

pLock

Pointer to a CCritSec object used for locking.

Return Value

No return value.

Remarks

Allocate the pName parameter in static memory. This name appears on the debugging terminal upon creation and deletion of the object.

See Also